package com.haoran.dwz.wrapper;

import com.haoran.dwz.handler.PeriodHandler;

import io.swagger.annotations.ApiModelProperty;

/**
 * 周期 一段时间 用于时间段查询
 */
public class PeriodWrapper extends PagingWrapper implements PeriodHandler{
	
	private static final long serialVersionUID = 1L;

	public static final String DEFAULT_PATTERN = "yyyy-MM-dd HH:mm:ss - yyyy-MM-dd HH:mm:ss";
	
	@ApiModelProperty(value = "时间区间过滤 约定格式yyyy-MM-dd HH:mm:ss - yyyy-MM-dd HH:mm:ss")
	private String period;

	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}
 
}